package com.practice;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * @author kayn
 * @create 2023-10-23 上午 10:16
 */
@SpringBootApplication(scanBasePackages = {"com.practice"})
@MapperScan("com.practice.mapper")
@EntityScan(basePackages = {"com.practice.entity"})
@EnableConfigurationProperties
public class PracticeApplication {

    private static final Logger log = LoggerFactory.getLogger(PracticeApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(PracticeApplication.class);
        log.info("""
                JIOJIO启动成功~
                 /＼_/＼
                (  •ㅅ• )
                  づ♡づ\s""");
    }

}
